import React from 'react';
import ReactDOM from 'react-dom/client';

import App from './App';

import './assets/css/reset.css'
import './assets/js/rem'
import './assets/css/iconfont2.css'

//HashRouter  hash模式
//BrowserRouter history模式
import { HashRouter, BrowserRouter } from 'react-router-dom'

import { Provider } from 'react-redux'
import store from './store'

const root = ReactDOM.createRoot(document.getElementById('root'));
root.render(
  <Provider store={store}>
    <HashRouter>
      <App />
    </HashRouter>

  </Provider>
);


